package com.bbcare.cp.plat.store.ibatis.cp;

import java.util.List;
import java.util.Map;

import com.bbcare.cp.plat.entity.cp.CpNodeTask;
import com.bbcare.cp.plat.entity.cp.CpNodeTaskAuth;

/*
 * @name:         临床路径节点任务信息存储接口
 * @author:       DemonLee
 * @createTime:   2018.4.20
 * @description:  临床路径节点任务信息
 * @modify:
 * 
 */
public interface ICpNodeTaskDAO {
    /**
     * 查询临床路径节点任务信息（关联角色）
     * 
     * @param
     * @return list
     */
    public List<CpNodeTask> listCpNodeTaskByRole(Map<String, Object> paramMap) throws Exception;

    /**
     * 查询临床路径节点任务信息（不关联角色）
     * 
     * @param
     * @return list
     */
    public List<CpNodeTask> listCpNodeTaskByCondition(Map<String, Object> paramMap) throws Exception;

    /**
     * 查询临床路径节点任务角色信息
     * 
     * @param
     * @return list
     */
    public List<CpNodeTaskAuth> listCpNodeTaskAuthByCondition(Map<String, Object> paramMap) throws Exception;

    /**
     * 统计临床路径节点任务角色信息
     * 
     * @param
     * @return int
     */
    public int countCpNodeTaskAuthByCondition(Map<String, Object> paramMap) throws Exception;

    /**
     * 查询临床路径节点任务下配置的角色
     * 
     * @param
     * @return list
     */
    public List<Map<String, Object>> listCpTaskRoleIdByCondition(Map<String, Object> paramMap) throws Exception;

    public List<Map<String, Object>> qryTaskName(Map<String, Object> paramMap) throws Exception;
}
